import Vue from 'vue'
import Router from 'vue-router'
import DashBoard from './views/DashBoard.vue'
import TaoBao from './modules/taobao/Index.vue'
import Maps from './modules/maps/Index.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'dashboard',
      component: DashBoard
    },
    {
      path: '/taobao',
      name: 'taobao',
      component: TaoBao
    },
    {
      path: '/maps',
      name: 'maps',
      component: Maps
    }
  ]
})
